package com.ch.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName pharmacy
 */
@TableName(value ="pharmacy")
@Data
public class Pharmacy implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer pharmacyid;

    /**
     * 
     */
    private String pharmacyname;

    /**
     * 
     */
    private Integer drugstoreid;

    /**
     * 
     */
    private Integer skullid;

    /**
     * 
     */
    private Integer warehouseid;

    /**
     * 
     */
    private Integer unit;

    /**
     * 
     */
    private Double sellingprice;

    /**
     * 
     */
    private Integer area;

    /**
     * 
     */
    private Integer type;

    /**
     * 
     */
    private Date producedate;

    /**
     * 
     */
    private Date validdate;

    /**
     * 
     */
    private Integer drugstorenum;

    /**
     * 
     */
    private String skullbatch;

	@TableField(exist = false)
	private String unitName;

	@TableField(exist = false)
	private String skullName;


	@TableField(exist = false)
	private String areaName;


	@TableField(exist = false)
	private String typeName;

	@TableField(exist = false)
	private Integer Hospitalizationnumber;//住院id
	@TableField(exist = false)
	private Integer price;//已用

	@TableField(exist = false)
	private Integer registerid;//住院id
	@TableField(exist = false)
	private Integer quantity;//药品数量


	@TableField(exist = false)
    private static final long serialVersionUID = 1L;
}